package cn.stylefeng.guns.modular.single.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @author 
 * 
 */
@TableName(
        value = "patient",
        autoResultMap = true
)
@Data
public class Patient implements Serializable {
    private Integer id;

    /**
     * 住院号
     */
    private String inNo;

    /**
     * 姓名
     */
    private String name;

    /**
     * 性别
     */
    private String sex;

    /**
     * 身份证号
     */
    private String idCard;

    private String reason;

    /**
     * 住院日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inDate;

    /**
     * 出院日期
     */
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date outDate;

    /**
     * 主治医生
     */
    private Long belongDoctor;

    /**
     * 所属科室
     */
    private Long belongOrg;

    /**
     * 年龄
     */
    private Integer age;
    private Integer status;
    /**
     * 疾病属性编码
     */
    private String diseaseCode;
    private String diseaseName;
    private  String escalationName;
    private  Date escalationDate;
    private Long escalationId;
    private static final long serialVersionUID = 1L;


}